<?php

// application/models/Grupo.php

class Application_Model_Grupo extends App_Model_Abstract
{
    protected $_id;
    protected $_dono;
    protected $_nome;
    protected $_descricao;
    protected $_foto;

    public function setId($value)
    {
        $this->_id = ($value > 0) ? (int) $value : NULL;
        return $this;
    }

    public function getId()
    {
        return $this->_id;
    }

    public function setDono($value)
    {
        $this->_dono = ($value !== NULL) ? (string) $value : NULL;
        return $this;
    }

    public function getDono()
    {
        return $this->_dono;
    }

    public function setNome($value)
    {
        $this->_nome = (string) $value;
        return $this;
    }

    public function getNome()
    {
        return $this->_nome;
    }

    public function setDescricao($value)
    {
        $this->_descricao = ($value !== NULL) ? (string) $value : NULL;
        return $this;
    }

    public function getDescricao()
    {
        return $this->_descricao;
    }

    public function setFoto($value)
    {
        $this->_foto = ($value !== NULL) ? (string) $value : NULL;
        return $this;
    }

    public function getFoto()
    {
        return $this->_foto;
    }

}